home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / shells / zsh-3.0-p / zsh-3 / zsh-3.0-pre3 / Misc / Makefile.in < prev   
Makefile  |  1996-05-06  |  2KB  |  79 lines

  1. #
  2. # $Id: Makefile.in,v 2.0 1996/05/02 22:57:04 hzoli Exp $
  3. #
  4. # Makefile for Misc subdirectory
  5. #
  6. # Copyright (c) 1995 Richard Coleman
  7. # All rights reserved.
  8. #
  9. # Permission is hereby granted, without written agreement and without
  10. # license or royalty fees, to use, copy, modify, and distribute this
  11. # software and its documentation for any purpose, provided that the
  12. # above copyright notice and the following two paragraphs appear in
  13. # all copies of this software.
  14. #
  15. # In no event shall Richard Coleman or the Zsh Development Group be liable
  16. # to any party for direct, indirect, special, incidental, or consequential
  17. # damages arising out of the use of this software and its documentation,
  18. # even if Richard Coleman and the Zsh Development Group have been advised of
  19. # the possibility of such damage.
  20. #
  21. # Richard Coleman and the Zsh Development Group specifically disclaim any
  22. # warranties, including, but not limited to, the implied warranties of
  23. # merchantability and fitness for a particular purpose.  The software
  24. # provided hereunder is on an "as is" basis, and Richard Coleman and the
  25. # Zsh Development Group have no obligation to provide maintenance,
  26. # support, updates, enhancements, or modifications.
  27. #
  28.  
  29. SHELL = /bin/sh
  30.  
  31. srcdir = @srcdir@
  32. VPATH  = @srcdir@
  33.  
  34. .SUFFIXES:
  35.  
  36. # all files in this directory included in the distribution
  37. DIST = Makefile.in c2z lete2ctl compctl-examples
  38.  
  39. # ========== DEPENDENCIES FOR BUILDING ==========
  40.  
  41. all:
  42.  
  43. # ========== DEPENDENCIES FOR CLEANUP ==========
  44.  
  45. mostlyclean:
  46.     rm -f *~
  47.  
  48. clean: mostlyclean
  49.  
  50. distclean: clean
  51.     rm -f Makefile
  52.  
  53. realclean: distclean
  54.  
  55. superclean: realclean
  56.  
  57. # ========== DEPENDENCIES FOR MAINTENANCE ==========
  58.  
  59. subdir = Misc
  60.  
  61. Makefile: Makefile.in ../config.status
  62.     cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
  63.  
  64. distdir = ../`cat ../distname`/$(subdir)
  65. dist: $(DIST)
  66.     @echo "Copying distribution files in $(subdir)"
  67.     for file in $(DIST); do    \
  68.       cp -p $$file $(distdir); \
  69.     done
  70.  
  71. rcsdistdir = ../`cat ../rcsdistname`/$(subdir)
  72. dist-rcs: $(DIST)
  73.     @echo "Copying distribution files in $(subdir) (RCS source)"
  74.     for file in $(DIST); do                 \
  75.       ci $$file;                            \
  76.       cp -p RCS/$$file,v $(rcsdistdir)/RCS; \
  77.       co -l $$file;                         \
  78.     done
  79.